<!--[if ($smarty.session.PNSV_CART|@count) > 0]-->
<style type="text/css">
  .list_ajax_product{position:relative; font-size:11px; margin:-17px 0 0 0;}
  .list_ajax_product li{list-style:none; border-top:1px solid #fff; border-bottom:1px solid #E9E9E9; display:block; width:212px; height:57px; padding:5px 0 0 3px; position:relative;}
  .list_ajax_product li:hover{ background:#EAEAEA; border-top:1px solid #fff; border-bottom:1px solid #E9E9E9;}
  .item_image{width:50px; height:50px; border:none; overflow: hidden; display:block;}
  .item_image img{border:none !important;}
  .cart_l{width:50px; float:left; margin:0 3px 0px 0px;}
  .cart_r{width:159px; float:left}
  .cart_r span{width:144px; height:15px; white-space: nowrap; overflow:hidden; display:block; color:gray; text-align:left;}
  span.line1{color:#3B5998; font-weight: bold;}
  span.line3{color:#3B5998;}
  .deleteProductID{position:absolute; left: 3px; top: 5px; width:7px; height:7px; border:none; background: url(modules/IShopStore/pnimages/delete_item.png) bottom no-repeat; text-indent:-9999px }
  .deleteProductID:hover{background-position:top; cursor:pointer;}
</style>
    <div class="list_ajax_product">
    <!--[foreach from=$smarty.session.PNSV_CART item=item]-->
      <li id="productID_<!--[$item.id]-->" style="text-indent:0px !important;">
      <div class="cart_l">
        <div class="item_image">
          <img src="<!--[$item.thumbname]-->" width="50"/>
        </div>
      </div>
      <div class="cart_r">
        <span class="line1"><!--[$item.name]--></span>
        <span class="line2">ราคา <!--[$item.price_per_item|number_format:0]--> บาท ต่อชิ้น</span>
        <span class="line3">
          <i id="cartside_amount_<!--[$item.id]-->"><!--[$item.amount]--></i><i>&nbsp;ชิ้น, ราคารวม&nbsp;</i>                            
          <i id="cartside_price_<!--[$item.id]-->"><!--[$item.price|number_format:0]--></i><i>&nbsp;บาท</i>               
        </span>
        <a href="<!--[pnmodurl modname='IShopStore' type='ajax' func='deleteFromCart' id=$item.id]-->" onClick="return false;">
          <button class="deleteProductID" id="deleteProductID_<!--[$item.id]-->">ลบ</button>
        </a>  
      </div>              
      </li>
      <div id="notification_<!--[$item.id]-->"></div>
    <!--[/foreach]-->		
    </div>    
<!--[else]-->0<!--[/if]-->  